package cn.lgwen.candy.runtime.operator;

/**
 * 2019/12/24
 * aven.wu
 * danxieai258@163.com
 */
public interface Collector<T> extends Iterable<T> {
    boolean hasNext();

    T next() ;

    void collect(T record);

    void close();
}
